/**
 * getInfoRecord   获取维修记录信息
 */
const recordStatement = require("../../common/sql_sentences/maintenance_record")


exports.getInfoRecord = async (req, res) => {
  try {
    // 获取维修记录信息
    let sqlStr = recordStatement.idSelect(req.params.id)
    let results = await RunSQL(sqlStr)
    return res.successSend("", 10000, results[0])
  } catch (error) {
    res.errSend(error)
  }
}

